ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / PatternPen Class / PatternPen Constructor / PatternPen Constructor(Int32[],Color)
A int array indicate the pattern of current pen
A Color indicates the color of the pen.

In This Topic
    PatternPen Constructor(Int32[],Color)
    In This Topic
    Initializes a new instance of the PatternPen class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal pattern() As Integer, _
       ByVal color As Color _
    )
    public PatternPen( 
       int[] pattern,
       Color color
    )

    Parameters

    pattern
    A int array indicate the pattern of current pen
    color
    A Color indicates the color of the pen.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also